package com.excilys.dao;

import com.excilys.model.Account;

/**
 * Interface for an account DAO
 * 
 * @author excilys dev : NT, VP
 * 
 */
public interface IAccountDAO {
	Account getAccountById(long accountId);

	Account getAccountByName(String name);

	/**
	 * Changes the amount of an account. Performs an update.
	 * 
	 * @param accountName
	 * @param accountAmount
	 */
	void updateAccountBalanceByAccountName(String accountName, long accountAmount);
}
